﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;

namespace Jy123.Web.Friend
{
    public partial class FriendClassManage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //页面初始化
            StringBuilder sbHtml = new StringBuilder(Cache["user_friendclasslist"].ToString());//最终写出页面的大sb
            sbHtml = sbHtml.Replace("$Header$", Cache["user_header"].ToString());//头部
            sbHtml = sbHtml.Replace("$Footer$", Cache["user_footer"].ToString());//底部
            sbHtml = sbHtml.Replace("$LeftUserCmd$", Cache["user_navigation_up"].ToString());//左侧导航
            sbHtml = sbHtml.Replace("$LeftUserFriendAdd$", Cache["user_friendadd"].ToString());//左侧直接添加好友
            sbHtml = sbHtml.Replace("$ClassFrdList$", "")
                .Replace("$ClassMng$", "class=sel")
                .Replace("$ClassOnline$", "")
                .Replace("$ClassCongnition$", "")
                .Replace("$ClassIn$", "")
                .Replace("$ClassRandom$", "")
                .Replace("$ClassOut$", "")
                .Replace("$ClassInvite$", "");
            Response.Write(sbHtml.ToString());
        }
    }
}
